Using the component method